package com.dwj.auto.comment.service.impl;

import com.dwj.auto.comment.common.response.PageResponse;
import com.dwj.auto.comment.config.mybatis.plus.CommonServiceImpl;
import com.dwj.auto.comment.dao.entity.Course;
import com.dwj.auto.comment.dao.mapper.CourseMapper;
import com.dwj.auto.comment.model.req.CourseSearchCriteria;
import com.dwj.auto.comment.model.vo.CourseSearchVo;
import com.dwj.auto.comment.service.ICourseService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dwjian
 * @since 2020-01-20
 */
@Service
public class CourseServiceImpl extends CommonServiceImpl<CourseMapper, Course> implements ICourseService {

    @Override
    public PageResponse<CourseSearchVo> searchList(CourseSearchCriteria pagination) {
        return PageResponse.success(this.voPage(pagination));
    }
}
